package com.xw.mailservice.beans;

import java.util.Date;

/**
 * 邮件的附件实体类
 * @author YangJianquan
 */
public class SaveMailAttachment {
	
	private String 	id;				//附件id
	private Integer channel = 1;	//渠道,邮件为1
	private String name;			//附件名称
	private String url;				//附件地址
	private String size;			//附件大小，单位K
	private Date uploadTime;		//上传时间
	private String uploadUser;		//上传用户
	private String ledId;			//附件所属的邮件id
	private String desc;
	
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Integer getChannel() {
		return channel;
	}
	public void setChannel(Integer channel) {
		this.channel = channel;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public Date getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
	public String getUploadUser() {
		return uploadUser;
	}
	public void setUploadUser(String uploadUser) {
		this.uploadUser = uploadUser;
	}
	public String getLedId() {
		return ledId;
	}
	public void setLedId(String ledId) {
		this.ledId = ledId;
	}
	@Override
	public String toString() {
		return "SaveMailAttachment [id=" + id + ", channel=" + channel + ", name=" + name + ", url=" + url + ", size="
				+ size + ", uploadTime=" + uploadTime + ", uploadUser=" + uploadUser + ", ledId=" + ledId + "]";
	}
	
}
